select query in php

37

$mquery = mysql_query("SELECT * FROM 
users where `userid
` = 1");
$result = mysql_fetch_arrray($mquery);
echo $result['name'];

Comments

Submit
0 Comments